﻿using Aurora.WebApp.Controllers;
using Aurora.WebApp.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Aurora.WebApp.ViewModel.Branch
{
    public class DeleteSucursalViewModel
    {
        public int SUC_ID { get; set; }
        public Sucursal _Sucursal { get; set; }

        public void CargarDatos(CargarDatosContext datacontext, int _SUC_ID)
        {
            this.SUC_ID = _SUC_ID;
            _Sucursal = datacontext.context.Sucursal.FirstOrDefault(x => x.SUC_ID == _SUC_ID);
        }
    }
}